package com.zbkj.service.model.front.vo.user;

import com.zbkj.service.model.front.vo.fund.CrabRoeAccountVO;
import com.zbkj.service.model.front.vo.fund.UserQuotaVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel
public class UserFundAccountVO {

    @ApiModelProperty("用户承享额度账户信息")
    private UserQuotaVO userQuotaVO;

    @ApiModelProperty("用户雅识账户信息")
    private CrabRoeAccountVO crabRoeAccountVO;

    public static UserFundAccountVO generate(UserQuotaVO userQuotaVO, CrabRoeAccountVO crabRoeAccountVO) {
        UserFundAccountVO userFundAccountVO = new UserFundAccountVO();
        userFundAccountVO.setUserQuotaVO(userQuotaVO);
        userFundAccountVO.setCrabRoeAccountVO(crabRoeAccountVO);
        return userFundAccountVO;
    }
}
